<div class="modal-body">
    <form class="form-horizontal" role="form" name="myForm" novalidate>
      	<input type="text" class="form-control" name="username" ng-model="username" placeholder="请输入用户名" required>
      	<input type="password" class="form-control" name="password" ng-model="password" placeholder="请设置密码" required>
        <button type="button" class="btn btn-default"data-dismiss="modal">取消</button>
        <button ng-click="login()" type="button" class="btn btn-primary">登录</button>
	</form>
</div>